package com.workcell.workdata.xthings.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.workcell.workdata.xthings.entity.CodeChainnum;
import com.workcell.workdata.xthings.entity.CodeFreezer;

import java.util.List;

/**
 * 码库冷冻机信息表
 *
 * @author com.workcell.workdata.xthings
 * @date 2023-04-19 11:26:04
 */
public interface CodeFreezerService extends IService<CodeFreezer> {

	Boolean saveCodeBaseInfo(CodeChainnum codeChainnum);

	/**
	 * 获取硬件清单
	 * @return
	 */
	List<JSONObject> getHardwareList();

	/**
	 * 查询硬件基本信息
	 * @param baseIds
	 * @return
	 */
	Object getHardwareBase(String baseIds);

	/**
	 * 查询硬件快照信息
	 * @param codeId
	 * @return
	 */
	Object getHardwareInfo(String codeId);

	Object getHardwareBaseOpen(String deviceNo);

}
